package com.csun.dsms.model.huang;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * 7.项目建设清单
 * 红黑榜项目清单
 */
@Data
public class HgProjectDataVo implements Serializable {


    private String area;

    /**
     * 行业
     */
    @Column(name = "industry_name")
    private String industryName;
    /**
     * 责任部门
     */
    @Column(name = "entry_department")
    private String entryDepartment;

    private Integer redPjNum;

    private Integer blackPjNum;

    private Integer totalPjNum;

    @Column(name = "creator")
    private String creator;

    @Column(name = "approved")
    private Boolean approved;

    @Column(name = "approval")
    private String approval;

    @Column(name = "created_time")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;


}